<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
    <!DOCTYPE html>
    <html lang="zh_CN">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/login.css">
        <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/bar.png" type="image/x-icon">
        <script src="${pageContext.request.contextPath}/js/index.js"></script>
        <title>登录页</title>
    </head>

    <body>
        <form class="login" method="POST" id="login">
            <p>登录</p>
            <input type="text" id="username" name="username" class="ipt" placeholder="用户名" autocomplete="off">
            <input type="password" id="password" name="password" class="ipt" placeholder="密码" autocomplete="off">
            <br>
            <label class="checkbox">
                <input id="remember" name="remember" type="checkbox" value="remember-me">
                <span id="remember_me">记住我</span>
                <span id="error">${error}</span>
            </label>
            <br>
            <button onclick="checkForm()" class="btn" type="button">登录</button>
        </form>
    </body>

    </html>